<?php $form = $this->beginWidget('CActiveForm', array(

    'id' => 'google-ads-form',

    'enableClientValidation' => true,

)) ?>

<?php echo $form->errorSummary($model) ?>




<div>

    <label>Enter google ads script bellow (*)</label>

    <?php echo $form->textArea($model, 'params', array('rows' => 10, 'cols' => 70)) ?>

    <?php echo $form->error($model, 'params') ?>

</div>

<div>
    <label>Select location</label>
    <?php echo $form->dropDownList($model, 'position', array(
        'right' => 'Right sidebar',
        'left' => 'Left sidebar',
        'bottom' => 'Bottom',
        'top' => 'Top'
    )) ?>
</div> <br/>

<br/>



<div >

    <label>Status</label>

    <?php echo $form->dropDownList($model, 'status', array(

        1 => 'Active',

        0 => 'Disable'

    )) ?>

</div>

<br/>

<div>

    <input type="submit" value="Submit" />

</div>



<?php $this->endWidget() ?>